import {Inter} from "next/font/google";
import "./styles/globals.scss";
import {Metadata} from "next";

const inter = Inter({subsets: ["latin"]});

export const metadata: Metadata = {
    title: "ChatGpt - 蟹黄堡我最爱",
    description: "蟹黄堡我最爱的AI机器人",
};

export default function RootLayout({
                                       children,
                                   }: {
    children: React.ReactNode;
}) {
    return (
        <html lang="en">
        <head>
            <script
                dangerouslySetInnerHTML={{
                    __html: `
              var _hmt = _hmt || [];
              (function() {
                var hm = document.createElement("script");
                hm.src = "https://hm.baidu.com/hm.js?d9de2c3a6180628b765d41fb60ff0f06";
                var s = document.getElementsByTagName("script")[0]; 
                s.parentNode.insertBefore(hm, s);
              })();
            `,
                }}
            />
            <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
            <title></title>
        </head>
        <body className={inter.className}>{children}</body>
        </html>
    );
}
